#!/bin/bash

container_name="api-gate"


if [[ "$(docker ps -aq -f name=$container_name)" ]]; then
    echo "skip create:""$container_name"
else
  docker container create --name "$container_name" --network="$network_name" -v "$PWD"/../src:/app -w /app -p 6379:6379 rust:latest cargo run
fi
